package com.sakura.mall.order.paymentInfo.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.order.paymentInfo.domain.entity.PaymentInfoEntity;
import com.sakura.mall.order.paymentInfo.domain.request.AddPaymentInfoRequest;
import com.sakura.mall.order.paymentInfo.domain.request.UpdatePaymentInfoRequest;
import com.sakura.mall.order.paymentInfo.domain.request.PaymentInfoPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.order.paymentInfo.domain.vo.PaymentInfoVo;

/**
 * 支付信息表 service
 *
 * @author sakura
 */
public interface PaymentInfoService extends IService<PaymentInfoEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<PaymentInfoVo> queryPage(PaymentInfoPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddPaymentInfoRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdatePaymentInfoRequest request);
}
